﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Template.Master" Inherits="System.Web.Mvc.ViewPage<JLL.China.Web.Areas.Listings.Models.ProjectDirectoryDetailModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div id="page-heading">
        <a class="icons icon-circle-arrow-right"></a><b><span class="show-listing"><%=ViewData["HeadingMsgStep2"].ToString()%></span></b>
    </div>
    <div class="menu-nav">
        <% Html.RenderPartial("TopMenu");%> 
    </div>
    <!-- end page-heading -->
    <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
        <tr>
            <th rowspan="3" class="sized">
                <img src="<%=Url.Content("~/Content/images/shared/side_shadowleft.jpg")%>" width="20"
                    height="300" alt="" />
            </th>
            <th class="topleft">
            </th>
            <td id="tbl-border-top">
                &nbsp;
            </td>
            <th class="topright">
            </th>
            <th rowspan="3" class="sized">
                <img src="<%=Url.Content("~/Content/images/shared/side_shadowright.jpg")%>" width="20"
                    height="300" alt="" />
            </th>
        </tr>
        <tr>
            <td id="tbl-border-left">
            </td>
            <td class="content-table-inner">
                <!--  start content-table-inner ...................................................................... START -->
                <div id="content-table-inner">
                    <!--  start message-blue -->
                    <% Html.RenderPartial("Measage");%>
                    <!--  end message-blue -->
                    <!--  start step-holder -->
                    <%Html.RenderPartial("../ProjectDirectory/StepHolder", (ViewData["ListingID"] != null) ? ViewData["ListingID"].ToString() : null); %>
                    <!--  end step-holder -->
                    <%using (Html.BeginForm("Step2", ViewData["ActionPost"].ToString(), FormMethod.Post, new { id = "formID", @class = "validateform list_item_form" }))
                      {%>
                       <%=Html.HiddenFor(m=>m.projectdir.ListingFID) %>
                        <%=Html.HiddenFor(m=>m.localprojectdir.ListingFID) %>
                      <table border="0" cellpadding="0" cellspacing="0" class="tbl-shortform">
                        <tr>
                            <th>
                                <span class="mandate"> </span> <b>Developer</b>
                            </th>
                            <td style="position: relative">
                                <%=Html.TextBoxFor(m => m.projectdir.Developer, new { @class = "input-size-big inp-form " })%>
                                
                               
                            </td>
                            <th>
                                <span class="mandate"> </span> <b> Developer Local Language    &nbsp;</b>
                            </th>
                            <td style="position: relative">
                                <%=Html.TextBoxFor(m => m.localprojectdir.Developer, new { @class = "input-size-big inp-form " })%>
                               
                            </td>
                        </tr>
                        <tr>
                            <th>
                                <span class="mandate"> </span> <b> Company</b>
                            </th>
                            <td style="position: relative">
                                <%=Html.TextBoxFor(m => m.projectdir.Company, new { @class = "input-size-big inp-form " })%>
                               
                            </td>
                             <th>
                                <span class="mandate"> </span> <b> Company Local Language    &nbsp;</b>
                            </th>
                            <td style="position: relative">
                                 <%=Html.TextBoxFor(m => m.localprojectdir.Company, new { @class = "input-size-big inp-form " })%>
                               
                            </td>
                        </tr>
                        <tr>
                            <th>
                                <span class="mandate"> </span> <b> Site area <br />(<i>Gross Dev Area</i>) &nbsp; </b>
                            </th>
                            <td style="position: relative">
                                <%=Html.TextBoxFor(m => m.projectdir.SiteArea, new { @class = "input-size-big inp-form validate[custom[number]] " })%>
                               
                            </td>
                        </tr>
                        <tr>
                            <th>
                                <span class="mandate"> </span> <b> Carpark (<i>Total lots</i>) &nbsp; </b>
                            </th>
                            <td style="position: relative">
                                 <%=Html.TextBoxFor(m => m.projectdir.Carpark, new { @class = "input-size-big inp-form " })%>
                               
                            </td>
                        </tr>
                        <tr>
                            <th>
                                <span class="mandate"> </span> <b> Total unit &nbsp; </b>
                            </th>
                            <td style="position: relative">
                                <%=Html.TextBoxFor(m => m.localprojectdir.TotalUnit, new { @class = "input-size-big inp-form " })%>
                            
                               
                            </td>
                          
                        </tr>
                        
                          <tr>
                            <th>
                                <span class="mandate"> </span> <b> Expected TOP &nbsp; </b>
                            </th>
                            <td style="position: relative">
                                <%=Html.TextBoxFor(m => m.projectdir.ExpectedTOP, new { @class = "input-size-big inp-form " })%>
                            
                               
                            </td>
                              <th>
                                <span class="mandate"> </span> <b> Expected TOP Local Language &nbsp; </b>
                            </th>
                            <td style="position: relative">
                                <%=Html.TextBoxFor(m => m.localprojectdir.ExpectedTOP, new { @class = "input-size-big inp-form " })%>
                            
                               
                            </td>
                        </tr>
                         <tr>
                            <th>
                                <span class="mandate"> </span> <b> Year Completion &nbsp; </b>
                            </th>
                            <td style="position: relative">
                                <%=Html.TextBoxFor(m => m.projectdir.YearCompletion, new { @class = "input-size-big inp-form " })%>
                            
                               
                            </td>
                            
                        </tr>
                        <tr>
                         <!--LINE2-->
                            <th >
                                <span class="mandate"> </span> <b>Specifications</b>
                            </th>
                            <td style="position: relative">
                                <%=Html.TextAreaFor(m => m.projectdir.Specifications, new { @class = "input-size-big inp-form " })%>
                                
                               
                            </td>
                             <th >
                                <span class="mandate"> </span> <b>Specifications Local Language</b>
                            </th>
                            <td style="position: relative">
                               <%=Html.TextAreaFor(m => m.localprojectdir.Specifications, new { @class = "input-size-big inp-form " })%>
                                
                               
                            </td>
                        </tr>
                        <tr>
                         <!--LINE2-->
                            <th >
                                <span class="mandate"> </span> <b>Building Design </b>
                            </th>
                            <td style="position: relative">
                                <%=Html.TextAreaFor(m => m.projectdir.BuildingDesign, new { @class = "input-size-big inp-form " })%>
                                
                               
                            </td>
                            <th >
                                <span class="mandate"> </span> <b>Building Design Local Language</b>
                            </th>
                            <td style="position: relative">
                                <%=Html.TextAreaFor(m => m.localprojectdir.BuildingDesign, new { @class = "input-size-big inp-form " })%>
                                
                               
                            </td>
                        </tr>
                        <tr>
                         <!--LINE2-->
                            <th >
                                <span class="mandate"> </span> <b>Concept</b>
                            </th>
                            <td style="position: relative">
                              <%=Html.TextAreaFor(m => m.projectdir.Concept, new { @class = "input-size-big inp-form " })%>
                                
                               
                            </td>
                             <th >
                                <span class="mandate"> </span> <b>Concept Local Language</b>
                            </th>
                            <td style="position: relative">
                               <%=Html.TextAreaFor(m => m.localprojectdir.Concept, new { @class = "input-size-big inp-form " })%>
                                
                               
                            </td>
                        </tr>
                         <tr>
                         <!--LINE2-->
                            <th >
                                <span class="mandate"> </span> <b>Architect</b>
                            </th>
                            <td style="position: relative">
                                <%=Html.TextAreaFor(m => m.projectdir.Architect, new { @class = "input-size-big inp-form " })%>
                                
                               
                            </td>
                            <th >
                                <span class="mandate"> </span> <b>Architect  Local Language</b>
                            </th>
                            <td style="position: relative">
                              <%=Html.TextAreaFor(m => m.localprojectdir.Architect, new { @class = "input-size-big inp-form " })%>
                                
                               
                            </td>
                        </tr>
                        <tr>
                         <!--LINE2-->
                            <th >
                                <span class="mandate"> </span> <b>Landscape</b>
                            </th>
                            <td style="position: relative">
                               <%=Html.TextAreaFor(m => m.projectdir.Landscape, new { @class = "input-size-big inp-form " })%>
                                
                               
                            </td>
                            <th >
                                <span class="mandate"> </span> <b>Landscape Local Language</b>
                            </th>
                            <td style="position: relative">
                                           <%=Html.TextAreaFor(m => m.localprojectdir.Landscape, new { @class = "input-size-big inp-form " })%>
                               
                                
                               
                            </td>
                        </tr>
           <tr>
            <td colspan=4>
             <input type="button" style="margin-right:0px;" value="Next"    class="buttons" onclick="javascript:window.location.href='<%=Url.Content("~/")%><%=ViewData["now_controller"]%>Step3/<%= ViewData["ListingID"].ToString()%>'" />
             
             
                       <input type="submit" value="Save and proceed to Step 3" class="buttons" style="margin-right:8px;"  />
                    
            </td>
            </tr>
                    </table>
                    <!--END-FROM-->
                   <% } %>
                </div>
                <!--  end table-content  -->
            </td>
            <td id="tbl-border-right">
            </td>
        </tr>
        <tr>
            <th class="sized bottomleft">
            </th>
            <td id="tbl-border-bottom">
                &nbsp;
            </td>
            <th class="sized bottomright">
            </th>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CSS" runat="server">
 <link href="<%=Url.Content("~/Scripts/qtip2/jquery.qtip.min.css") %>" rel="stylesheet"
        type="text/css" />
    <link href="<%=Url.Content("~/Content/css/mod-listing.css") %>" rel="stylesheet"
        type="text/css" />
            <link href="<%=Url.Content("~/Scripts/jquery.validation/validationEngine.jquery.css")%>" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="JS" runat="server">
     <script src="<%=Url.Content("~/Scripts/qtip2/jquery.qtip.min.js")%>" type="text/javascript"></script>
    <script src="<%=Url.Content("~/Scripts/knockout/knockout.js")%>" type="text/javascript"></script>

    <script src="<%=Url.Content("~/Scripts/knockout/knockout.mapping.js")%>" type="text/javascript"></script>

        <script src="<%=Url.Content("~/Scripts/jquery.validation/jquery.validationEngine-en.js")%>"
        type="text/javascript"></script>

    <script src="<%=Url.Content("~/Scripts/jquery.validation/jquery.validationEngine.js")%>" type="text/javascript"></script>
  
    <script type="text/javascript">
        $(document).ready(function() {

            jQuery("#formID").validationEngine({

                promptPosition: "topLeft"
            });
           

        });
    </script>

</asp:Content>
